<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

	<script src="<c:url value="/scripts/map.control.js"/>" type="text/javascript" language="javascript" charset="utf-8"></script>
	<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript" language="javascript"></script>
	<script src="<c:url value="/scripts/enterprise.map.control.js"/>" type="text/javascript" language="javascript" charset="utf-8"></script>
    <script type="text/javascript">
	    $(document).ready(function(){

	    	var svcItemElement = $('#svcItemPanel');
	    	svcItemElement.css({
	    	    position: 'absolute',
	    	    left: '50%',
	    	    'margin-left': 0 - (svcItemElement.width() / 2)
	    	});

	    	
	    	$('#formSubmitBtn').click(function() {
	    		var phonenumber = $("#phoneCom").val() + "-" + $("#phoneFirst").val() + "-" + $("#phoneLast").val();
	    		$("#phoneNumber").val(phonenumber);
	    		$('#enterprise').submit();
	    	});
	    	$('#formResetBtn').click(function() {
	    		$('#enterprise').reset();
	    	});

	    	$('#svcFormSubmitBtn').click(function() {
	    		$('#svcitem').submit();
	    	});
	    	$('#svcFormResetBtn').click(function() {
	    		$('#svcitem').reset();
	    	});
	    });
    </script>